//
//  ALNetUtil.h
//  fuqinProject
//
//  Created by hcs on 2018/10/9.
//  Copyright © 2018年 al. All rights reserved.
//

#import <Foundation/Foundation.h>

//http res code
typedef enum : NSUInteger {
    HttpUnknownFail       = 100,
    HttpSuccess           = 60000,
    HttpAuthorizationFail = 60001,
    HttpDecryptFail       = 60002,
    HttpTokenNotExist     = 60003,
    HttpSessionInvaild    = 60004, //会话无效
    HttpMethodInvaild     = 60005,
    HttpMediaInvaild      = 60006,
    HttpBodyInvaild       = 60007,
    HttpServerError       = 60008,
    HttpAPINotExist       = 60009,
    HttpSmsFrequently     = 60010,
    HttpSmsMobileInvaild  = 60011,
    HttpSmsCodeError      = 60012,
    HttpSmsFailTooBusy    = 60013,
    HttpSmsExpire         = 60014,
    HttpSmsCodeInvaild    = 60015,
    HttpUserNameTooLong   = 60016,
    HttpUserIdCardInvaild = 60017,
    HttpUserReselect1     = 60019,
    HttpUserReselect2     = 60020,
    HttpUserIncomeInvaild = 60021,
    HttpProductUnderShelf = 61007, //不能购买，下架
    HttpProductNOExclusive = 61020, //不能独享
    HttpLoginExpire       = 60024,
    //to 60012
    HttpCodeRegistFail    = 60034,
    HttpCodeLoginFail     = 60035,
    //to 60013
    HttpBusyRegistFail    = 60036,
    HttpBusyLoginFail     = 60037,
    //to 60014
    HttpExpireRegistFail  = 60038,
    HttpExpireLoginFail   = 60039,
    //to 60014
    HttpInvaildRegistFail = 60040,
    HttpInvaildLoginFail  = 60041,
    HttpRecordExist       = 60044,
    
    httpUserWrongPassword = 60060,
    httpUserInvalidAccount = 60061,
    httpUserPassWordWrongManyTimeForHour = 60064,
    httpUserPassWordWrongManyTimeForDay = 60065,
    httpUserHasRegister = 60062,
    httpUserInconsistentPassword = 60063,
    
} HttpRetCode;

@interface ALNetUtil : NSObject
+ (NSString *)getValidatTimeKeyString;
@end
